package com.bcxj.apiboss.service;

import com.bcxj.apiboss.client.ServiceDriverUserClient;
import com.bcxj.internalcommon.dto.ResponseResult;
import com.bcxj.internalcommon.entity.Car;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * ClassName: CarService
 * Package: com.bcxj.apiboss.service
 * Description:
 *
 * @Author BCXJ
 * @Create 2024/10/20 16:52
 * @Version 1.0
 * @Since 1.0
 */
@Service
public class CarService {

    @Autowired
    private ServiceDriverUserClient serviceDriverUserClient;


    /**
     * 添加车辆
     * @param car
     * @return
     */
    public ResponseResult addCar(Car car) {
        return serviceDriverUserClient.addCar(car);
    }

}
